(message "\n\nThis is a pre-release beta version of PageStream 3.2. Stop now if you haven't read the Read.1st! file. Clicking Proceed indicates that you are knowingly installing beta software on your system.")
;QUIT PROGRAMS
(message "\n\nIf PageStream, BME or PageLiner are running now, quit them before continuing.")
(run "avail flush" (safe))
;USE ASSIGNS TO AVOID THE STUPID INSTALLER'S CRASH BUG
(run "CD PageStream3:" (safe))
(run "CD SoftLogik:" (safe))
(run "assign fonts: softlogik:fonts add" (safe))
;CONFIRM CORRECT VERSION IS INSTALLED, SET DESTINATION
(message ("\n\nThis patch will update your PageStream 3.1 beta 5 hard drive installation to 3.2 public beta 7.\n\nYour original PageStream3 disks will not be modified by this update.\n\nYou MUST have 3.1 beta 5 installed to use this patch.\n\nYou MUST have a battery-backed clock in your computer to use this version."))
(if (<> (exists "PageStream3:PageStream3") 1)
(abort "PageStream3 is not in the PageStream3: directory. You must properly install PageStream3.1 beta 5 before applying this update patch.")
)
;get destination
(set PGSdest (getassign "PageStream3" "a"))
(set SLdest (getassign "SoftLogik" "a"))
(if (OR (= PGSdest "") (= SLdest ""))
(abort "PageStream3: and/or SoftLogik: are not assigned. You must properly install PageStream 3.1 beta 5 before applying this update patch.")
)
(set PGSsize (getsize "PageStream3:PageStream3"))
(if (<> PGSsize 1411964)
(abort "You have the wrong version of PageStream installed. Please read the Read.1st! file for instructions.")
(message "\n\nYour TrueType font engine could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem TTKEY2NEW.")
(message "\n\nYour Wordworth document filter could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem WWKEY2NEW.")
(message "\n\nYour TextFX1 extension could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem FX1KEY2NEW.")
(message "\n\nYour TextFX1 extension could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem FX1KEY2NEW.")
(message "\n\nYour JPEG filter could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem JPKEY2NEW.")
(message "\n\nYour Average effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWCV.")
(message "\n\nYour Median effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWCV.")
(message "\n\nYour Maximum effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWCV.")
(message "\n\nYour Minimum effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWCV.")
(message "\n\nYour Solarize effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWCV.")
(message "\n\nYour Threshold effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWCV.")
(message "\n\nYour HSB effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWHB.")
(message "\n\nYour Gamma effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWHB.")
(message "\n\nYour Convolve effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWCV.")
(message "\n\nYour Histogram effect could not be patched to the latest version.\n\nPlease email support@softlogik.com for assistance. Report problem GEKEY2NEWHT.")
)
)
)
(delete "ram:Convolve.effect" (safe))
(delete "ram:Histogram.effect" (safe))
(delete "ram:HSB.effect" (safe))
(delete "ram:average.effect" (safe))
(delete "ram:median.effect" (safe))
(delete "ram:maximum.effect" (safe))
(delete "ram:minimum.effect" (safe))
(delete "ram:solarize.effect" (safe))
(delete "ram:threshold.effect" (safe))
(delete "ram:gamma.effect" (safe))
(delete "ram:Conv.pch" (safe))
(delete "ram:Hist.pch" (safe))
(delete "ram:HSB.pch" (safe))
(delete "ram:avg.pch" (safe))
(delete "ram:med.pch" (safe))
(delete "ram:max.pch" (safe))
(delete "ram:min.pch" (safe))
(delete "ram:sol.pch" (safe))
(delete "ram:thr.pch" (safe))
(delete "ram:gam.pch" (safe))
(message "\n\nPlease take the time to read the ReadMe.Now file before using this version. Many of the included scripts will not work in this beta due to a change in script commands. They will be updated for the final version. Sorry for the inconvenience.")
;DISPLAY README (Try 3 different ways!)
(run "ram:lhex >NIL: <NIL: -qfw=PageStream3: x Read.LHA")
(message "\n\nYou MUST update your font paths after starting this beta for the first time. Choose Fonts from the System Preferences submenu in the Project menu. Select each font path in the requester and click Update. When you are done, click Save.")